package ch6;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class MathVocabu {
    public static void main(String[] args) {
        //加法表
        Scanner in=new Scanner(System.in);
        System.out.println("输入数字：");
       int num=in.nextInt();
       for(int i=0,j=num;i<=num;i++,j--){
           System.out.println(i+"+"+j+"="+(i+j));
       }
    }
}
